﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<section id="content" role="main">
    <header>
        <h1 id="admin-page-heading">Projects</h1>
    </header>
    <div class="content-container">
        <div class="content-body aui-panel">
            <header>
				<nav class="aui-toolbar">
					<div class="toolbar-split toolbar-split-right">
						<ul class="toolbar-group">
							<li class="toolbar-item">
								<a id="add_project" class="toolbar-trigger add-project-trigger" href="#">
									<span class="icon icon-add16"></span>
									Add Project
								</a>
							</li>
						</ul>
					</div>
				</nav>
				<h2>Project list</h2>
			</header>
			<table id="project-list" class="aui">
				<thead>
					<tr>
						<th></th>
						<th>Name</th>
						<th>Key</th>
						<th>URL</th>
						<th>Project Lead</th>
						<th>Default Assignee</th>
						<th>Operations</th>
					</tr>
				</thead>
				<tbody>
                    <tr data-project-key="VHTB">
                        <td class="cell-type-icon" data-cell-type="avatar">
							<img alt="" class="project-avatar-16" height="16" src="/secure/projectavatar?pid=10000&amp;avatarId=10011&amp;size=small" width="16" /> 
                        </td>
                        <td data-cell-type="name">
                            <a id="view-project-10000" href="#">vhtb</a>
                        </td>
                        <td data-cell-type="key">VHTB</td>
                        <td class="cell-type-url" data-cell-type="url">
                            No URL  
                        </td>
                        <td class="cell-type-user" data-cell-type="lead">
                            <a class="user-hover" rel="l0v3thao" id="view_VHTB_projects_l0v3thao" href="#">NguyenNam</a>    
                        </td>
                        <td class="cell-type-user" data-cell-type="default-assignee">
                            Project Lead
                        </td>
                        <td data-cell-type="operations">
                            <ul class="operations-list">
                                <li><a class="edit-project" id="edit-project-10000" href="#">Edit</a></li>
                                <li><a id="delete_project_10000" href="#">Delete</a></li>
                            </ul>
                        </td>
                    </tr>
				</tbody>
			</table>
		</div>
    </div>   
</section>